package com.mini.client;

import com.mini.common.config.OauthFeignConfig;
import com.mini.vo.BusinessResult;
import com.mini.vo.KanbanDataFormatVO;
import com.mini.vo.KanbanPageCondition;
import com.mini.vo.KanbanResultVO;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;


/**
 * @author zl
 * @version 1.0
 * @date Created in 2020/2/6
 */
@FeignClient(name = "mini-excel")
public interface MiniExcelClient {

    @PostMapping(value = "/kanban/page")
    BusinessResult<KanbanResultVO<KanbanDataFormatVO>> page(@ApiParam(value = "token", required = true) @RequestHeader String Authorization,
                                                            @RequestBody KanbanPageCondition param);

}
